package com.cmxh.cloundnote.service;

import com.cmxh.cloundnote.pojo.Category;
import com.cmxh.cloundnote.util.PageUtil;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface CategoryService {
    PageInfo<Category> findAll(PageUtil pageUtil);
    //添加分类
    int addCategory(Category category);
    //删除
    int deleted(Integer id);
    //修改
    int updateCategory(Category category);
    List<Category> findById2(Integer id);
}
